import http from '@/qly/http'

export default {
    // 分页.
    getuserlist: params => http.post(`/api/index/getuserlist`, params),
    // 我的邀请码..
    getLocationByTencentAPI: params => http.post(`/api/index/getLocationByTencentAPI`, params),
    // 获取个人信息
    getuser: params => http.post(`/api/user/getuser`, params),
    // 修改手机号
    userupdate: params => http.post(`/api/user/userupdate`, params),
    // 获取用户类型
    getusertype: params => http.post(`/api/user/getusertype`, params),
    // 修改用户信息
    uptate_user: params => http.post(`/api/user/uptate_user`, params),
    // 获取充值列表
    getzf_biaoqian_recharge: params => http.post(`/api/Pay/getzf_biaoqian_recharge`, params),
    // 充值钻石
    czzs: params => http.post(`/api/Pay/czzs`, params),
    // 提现
    doTransfer: params => http.post(`/api/WechatTransfer/doTransfer`, params),
    // 输入账户互转
    hz: params => http.post(`/api/user/hz`, params),
    // 用户详情
    userxq: params => http.post(`/api/index/userxq`, params),
    // 花费钻石查看手机号
    consumption: params => http.post(`/api/index/consumption`, params),
    // 获取明细列表
    hmbxlb: params => http.post(`/api/user/hmbxlb`, params),
    // 申请代理商
    agent: params => http.post(`/api/user/agent`, params),
    // 上线扣除钻石
    sbkc: params => http.post(`/api/index/sbkc`, params),
    // 用户协议
    xy: params => http.post(`/api/user/xy`, params),
    // 区域内用户
    qynyh: params => http.post(`/api/user/qynyh`, params),
    // 获取区域内用户的消费明细
    qyxfmx: params => http.post(`/api/user/qyxfmx`, params),
    // 获取后台广告
    hqgglb: params => http.post(`/api/index/hqgglb`, params),
    // 获取广告详情
    hqgglbxa: params => http.post(`/api/index/hqgglbxa`, params),
    // 获取代理商广告
    dlsgg: params => http.post(`/api/index/dlsgg`, params),
    // 获取代理商广告详情
    dlsggxq: params => http.post(`/api/index/dlsggxq`, params),
    // 广告列表
    gg_list: params => http.post(`/api/user/gg_list`, params),
    // 添加广告
    tjgg: params => http.post(`/api/user/tjgg`, params),
    // 编辑广告
    bjgg: params => http.post(`/api/user/bjgg`, params),
    // 删除广告
    scgg: params => http.post(`/api/user/scgg`, params),
    // 广告详情
    ggxq: params => http.post(`/api/user/ggxq`, params),
}
